package com.gen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "gen_common_model", autoResultMap = true)
public class CommonModel extends BaseEntity {
    
    private String name;
    private String identifier;
    private String modelType;
    
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private Map<String, Object> modelConfig;
    
    private String description;
}